const mongoose = require('mongoose');



const theatersSchema = new mongoose.Schema(
    {
        name: String, // 放映厅名字
        status: Boolean, // 放映厅是否营业（可选）
        cinemasId: {
            type: mongoose.Schema.Types.ObjectId,
            ref: "cinemas"
        },
    }
)


mongoose.model('theaters', theatersSchema, "theaters");


